package com.bw.lib_storage.db

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.bw.lib_storage.db.dao.HistoryDao
import com.bw.lib_storage.db.dao.StudentDao
import com.bw.lib_storage.db.entity.History
import com.bw.lib_storage.db.entity.Student

@Database(entities = [History::class], version =2, exportSchema = true)
@TypeConverters(DataConverter::class) //针对Date类型需要做转换
abstract class AppDataBase :RoomDatabase(){
    abstract fun historyDao(): HistoryDao
//    abstract fun studentDao(): StudentDao
}